home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
cbibcode.arc
/
STRLWR.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1991-08-05
|
325 b
|
16 lines
/* strlwr.c From TC Bible page 287 Use strlwr to convert any upper case
letters in a string to lowercase. */
#include <stdio.h>
#include <string.h>
main()
{
char buf[80];
printf("Enter a string with uppercase letters: ");
gets(buf);
strlwr(buf);
printf("The string in lowercase is:\n%s\n", buf);
}